package cn.tedu.spring.auto;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component
public class UserAuto {
    /*
    1.Autowired注解
    2.
    3.
     */
    @Autowired
    @Qualifier(value = "cacheImpl1")
    private Cache cache;

}
